package au.com.iglootech.winerymap.spring;

import org.jboss.resteasy.core.Dispatcher;
import org.jboss.resteasy.plugins.spring.SpringBeanProcessor;
import org.jboss.resteasy.spi.Registry;
import org.jboss.resteasy.spi.ResteasyProviderFactory;
import org.springframework.core.Ordered;

/**
 * 
 * @author zhuhome
 * 
 */
public class IGTSpringBeanProcessor extends SpringBeanProcessor implements
		Ordered {
	/**
	 * 
	 * @param dispatcher
	 *            dispatcher
	 * @param registry
	 *            registry
	 * @param providerFactory
	 *            providerFactory
	 */
	public IGTSpringBeanProcessor(final Dispatcher dispatcher,
			final Registry registry,
			final ResteasyProviderFactory providerFactory) {
		super(dispatcher, registry, providerFactory);
	}

	@Override
	public int getOrder() {
		return Ordered.LOWEST_PRECEDENCE - 2;
	}
}
